package edu.zju.gis.dldsj.config;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author yanlo yanlong_lee@qq.com
 * @version 1.0 2018/08/01
 */
@Component
@ConfigurationProperties(prefix = "settings")
@ToString
@Getter
@Setter
public class CommonSetting {
    private String parallelFilePath;
    private String jarPath;
    private String xmlPath;
    private String templatePath;
    private String picPath;
    private String metaPath;
    private String nameNode;
    private String username;
    private String password;
    private String javaHome;
    private String hadoopHome;
    private String sparkHome;
    private String esHost;
    private int esPort;
    private String esName;
    private String esIndex;
    private String jobMonitor;
    private int monitorInterval;
    private int jobFailInterval;
    private String jobResultPath;
    private int initTaskPoolSize;
    private int maxTaskPoolSize;
    private int keepAliveSeconds;
    private String airflowHome;
    private String dagsFolder;
}
